package com.rxkj.entity.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;


/**
 * 系统导航菜单-child
 * by alex
 * 2022-4-6
 */
@ApiModel("系统导航菜单-child实体类")
public class NavMenuChild implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "pid")
    private Long pid;

    @ApiModelProperty(value = "菜单名")
    private String menuName;

    @ApiModelProperty(value = "菜单code")
    private String menuCode;

    @ApiModelProperty(value = "菜单等级")
    private Integer menuLevel;

    @ApiModelProperty(value = "权限等级")
    private Integer authLevel;

    @ApiModelProperty(value = "菜单url/路由")
    private String menuUrl;

    @ApiModelProperty(value = "图标icon")
    private String menuIcon;

    @ApiModelProperty(value = "菜单顺序")
    private Integer menuOrder;

    @ApiModelProperty(value = "是否启用0 false，1 true")
    private Integer enabled;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "菜单备注")
    private String menuRemark;

    @ApiModelProperty(value = "备注")
    private String remark;

    public NavMenuChild() {
    }

    public NavMenuChild(Long id, Long pid, String menuName, String menuCode, Integer menuLevel, Integer authLevel, String menuUrl, String menuIcon, Integer menuOrder, Integer enabled, Date createTime, Date updateTime, String menuRemark, String remark) {
        this.id = id;
        this.pid = pid;
        this.menuName = menuName;
        this.menuCode = menuCode;
        this.menuLevel = menuLevel;
        this.authLevel = authLevel;
        this.menuUrl = menuUrl;
        this.menuIcon = menuIcon;
        this.menuOrder = menuOrder;
        this.enabled = enabled;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.menuRemark = menuRemark;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "NavMenuChild{" +
                "id=" + id +
                ", pid=" + pid +
                ", menuName='" + menuName + '\'' +
                ", menuCode='" + menuCode + '\'' +
                ", menuLevel=" + menuLevel +
                ", authLevel=" + authLevel +
                ", menuUrl='" + menuUrl + '\'' +
                ", menuIcon='" + menuIcon + '\'' +
                ", menuOrder=" + menuOrder +
                ", enabled=" + enabled +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", menuRemark='" + menuRemark + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public Integer getMenuLevel() {
        return menuLevel;
    }

    public void setMenuLevel(Integer menuLevel) {
        this.menuLevel = menuLevel;
    }

    public Integer getAuthLevel() {
        return authLevel;
    }

    public void setAuthLevel(Integer authLevel) {
        this.authLevel = authLevel;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public Integer getMenuOrder() {
        return menuOrder;
    }

    public void setMenuOrder(Integer menuOrder) {
        this.menuOrder = menuOrder;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getMenuRemark() {
        return menuRemark;
    }

    public void setMenuRemark(String menuRemark) {
        this.menuRemark = menuRemark;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
